/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package org.ihmproject.modele;

import java.util.Vector;

/**
 *
 * @author Mickael
 */

public class NoeudCTT {
    
    public static final int TYPE_UTILISATEUR=1;
    public static final int TYPE_SYSTEME=2;
    public static final int TYPE_INTERACTION=3;
    public static final int TYPE_ABSTRAIT=4;
    
    protected String description;
    protected int type;
    protected Vector<String> decoration;
    protected Vector<String> precondition;
    protected String operateur;

    public NoeudCTT(String description, int type, Vector<String> decoration, Vector<String> precondition, String operateur) {
        this.description = description;
        this.type = type;
        this.decoration = decoration;
        this.precondition = precondition;
        this.operateur = operateur;
    }

    public Vector<String> getDecoration() {
        return decoration;
    }

    public void setDecoration(Vector<String> decoration) {
        this.decoration = decoration;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getOperateur() {
        return operateur;
    }

    public void setOperateur(String operateur) {
        this.operateur = operateur;
    }

    public Vector<String> getPrecondition() {
        return precondition;
    }

    public void setPrecondition(Vector<String> precondition) {
        this.precondition = precondition;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

}
